from django.db import models


# Create your models here.
class INFO(models.Model):
    name = models.CharField(verbose_name='name', max_length=11, help_text='请输入姓名', null=True, blank=True)
    phone = models.CharField(verbose_name='phone', max_length=11, db_index=True, help_text='请输入手机号')
    password = models.CharField(verbose_name='password', max_length=8, help_text='请输入密码')
    address = models.CharField(verbose_name='address', max_length=64)
    token = models.TextField(verbose_name='token', max_length=9999, null=True, blank=True)
    data = models.TextField(verbose_name='data', max_length=9999)

    class Meta:
        verbose_name_plural = 'INFO'
